package com.airS.task.fileMgr.service.mgr;

import com.airS.task.fileMgr.model.mgr.FileInfo;

import java.io.IOException;
import java.util.Map;

/**
 * Created by alan on 2017/3/18.
 */
public interface FdfsService {

    String uploadToFastDFS(FileInfo fileInfo) throws IOException;

    Map<String, String> getMetaFromFastDFS(String groupName, String fileName) throws IOException;

    void deleteFromFastDFS(String groupName, String fileName) throws IOException;

}
